package com.zzz.bayer.bean

import androidx.annotation.IntDef

@IntDef(
    BayerType.EASY_DITHER,
    BayerType.ORDER_DITHER,
    BayerType.ERROR_DIFFUSION_FLOYD,
    BayerType.DOT_DIFFUSION
)
annotation class BayerType {
    companion object {
        const val EASY_DITHER = 1 //简单阈值比较算法
        const val ORDER_DITHER = 2 //按序抖动算法
        const val ERROR_DIFFUSION_FLOYD = 4 //误差扩散算法Floyd&Steinberg系数
        const val DOT_DIFFUSION = 6 //点扩散算法
    }
}